\(\int (a+b x+c x^2) \, dx\) [2111]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 10, antiderivative size = 20 \[ \int \left (a+b x+c x^2\right ) \, dx=a x+\frac {b x^2}{2}+\frac {c x^3}{3} \]

[Out]

a*x+1/2*b*x^2+1/3*c*x^3

Rubi [A] (verified)

Time = 0.00 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int \left (a+b x+c x^2\right ) \, dx=a x+\frac {b x^2}{2}+\frac {c x^3}{3} \]

[In]

Int[a + b*x + c*x^2,x]

[Out]

a*x + (b*x^2)/2 + (c*x^3)/3

Rubi steps \begin{align*} \text {integral}& = a x+\frac {b x^2}{2}+\frac {c x^3}{3} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.00 \[ \int \left (a+b x+c x^2\right ) \, dx=a x+\frac {b x^2}{2}+\frac {c x^3}{3} \]

[In]

Integrate[a + b*x + c*x^2,x]

[Out]

a*x + (b*x^2)/2 + (c*x^3)/3

Maple [A] (verified)

Time = 0.04 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.85

method result size
gosper \(a x +\frac {1}{2} b \,x^{2}+\frac {1}{3} c \,x^{3}\) \(17\)
default \(a x +\frac {1}{2} b \,x^{2}+\frac {1}{3} c \,x^{3}\) \(17\)
norman \(a x +\frac {1}{2} b \,x^{2}+\frac {1}{3} c \,x^{3}\) \(17\)
risch \(a x +\frac {1}{2} b \,x^{2}+\frac {1}{3} c \,x^{3}\) \(17\)
parallelrisch \(a x +\frac {1}{2} b \,x^{2}+\frac {1}{3} c \,x^{3}\) \(17\)
parts \(a x +\frac {1}{2} b \,x^{2}+\frac {1}{3} c \,x^{3}\) \(17\)

[In]

int(c*x^2+b*x+a,x,method=_RETURNVERBOSE)

[Out]

a*x+1/2*b*x^2+1/3*c*x^3

Fricas [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.80 \[ \int \left (a+b x+c x^2\right ) \, dx=\frac {1}{3} \, c x^{3} + \frac {1}{2} \, b x^{2} + a x \]

[In]

integrate(c*x^2+b*x+a,x, algorithm="fricas")

[Out]

1/3*c*x^3 + 1/2*b*x^2 + a*x

Sympy [A] (verification not implemented)

Time = 0.02 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.75 \[ \int \left (a+b x+c x^2\right ) \, dx=a x + \frac {b x^{2}}{2} + \frac {c x^{3}}{3} \]

[In]

integrate(c*x**2+b*x+a,x)

[Out]

a*x + b*x**2/2 + c*x**3/3

Maxima [A] (verification not implemented)

none

Time = 0.20 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.80 \[ \int \left (a+b x+c x^2\right ) \, dx=\frac {1}{3} \, c x^{3} + \frac {1}{2} \, b x^{2} + a x \]

[In]

integrate(c*x^2+b*x+a,x, algorithm="maxima")

[Out]

1/3*c*x^3 + 1/2*b*x^2 + a*x

Giac [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.80 \[ \int \left (a+b x+c x^2\right ) \, dx=\frac {1}{3} \, c x^{3} + \frac {1}{2} \, b x^{2} + a x \]

[In]

integrate(c*x^2+b*x+a,x, algorithm="giac")

[Out]

1/3*c*x^3 + 1/2*b*x^2 + a*x

Mupad [B] (verification not implemented)

Time = 0.03 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.80 \[ \int \left (a+b x+c x^2\right ) \, dx=\frac {c\,x^3}{3}+\frac {b\,x^2}{2}+a\,x \]

[In]

int(a + b*x + c*x^2,x)

[Out]

a*x + (b*x^2)/2 + (c*x^3)/3